import request from '@/utils/request'

// 查询地址点赞列表
export function listAppTravelHighly(query) {
  return request({
    url: '/app/appTravelHighly/list',
    method: 'get',
    params: query
  })
}

// 查询地址点赞详细
export function getAppTravelHighly(id) {
  return request({
    url: '/app/appTravelHighly/' + id,
    method: 'get'
  })
}

// 新增地址点赞
export function addAppTravelHighly(data) {
  return request({
    url: '/app/appTravelHighly',
    method: 'post',
    data: data
  })
}

// 修改地址点赞
export function updateAppTravelHighly(data) {
  return request({
    url: '/app/appTravelHighly',
    method: 'put',
    data: data
  })
}

// 删除地址点赞
export function delAppTravelHighly(id) {
  return request({
    url: '/app/appTravelHighly/' + id,
    method: 'delete'
  })
}
